package com.dobby.pea.dto;

import com.dobby.pea.entity.tbGood;
import com.dobby.pea.entity.tbGoodImg;
import com.dobby.pea.entity.tbType;
import com.dobby.pea.entity.tbTypeSecond;
import lombok.Data;

import java.util.ArrayList;
import java.util.List;

/**
 * @author Dobby
 * @version 1.0
 */

@Data
public class GoodDto extends tbGood {

    //商品对应一级目录
    private String typeFirst;

    //商品销量
    private int sales;

    //商品对应类型数据集
    private String typeSecond;

    //商品对应的图片集
    private List<tbGoodImg> imgs = new ArrayList<>();

}
